import type { FC } from 'react';
import type { SvgDrawProps } from './types';
import SvgEditor from './SvgEditor';
import Other from './other';

const SvgDraw: FC<SvgDrawProps> = (props) => {
  return (
    <SvgEditor {...props}>
      {editor => <Other editor={editor} />}
    </SvgEditor>
  );
}

export default SvgDraw;